package br.com.hermes.android.bt.comm;

import android.os.Handler;
import br.com.hermes.bt.HmBluetoothComm;
import br.com.hermes.bt.HmHandle;

public class DroidComm extends HmBluetoothComm{

	public DroidComm(HmHandle handle, int whatMsg, int whatBTData) {
		super(handle, whatMsg, whatBTData);
	}

	@Override
	public void sendHandler(int what, Object object) {
		Handler handler = (Handler)this.getHandle().getTarget();
		handler.obtainMessage(what, object).sendToTarget();
	}
	
}
